home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- cursor(-1)
- set LeftLoc to the locH of sprite 16 + (the width of sprite 16 / 2) - 47
- set TopLoc to the locV of sprite 16 + (the height of sprite 16 / 2) - 59
- set RightLoc to the locH of sprite 16 + (the width of sprite 16 / 2) + 47
- set BottomLoc to the locV of sprite 16 + (the height of sprite 16 / 2) + 61
- set LeftOrigin to the stageLeft
- set TopOrigin to the stageTop
- set the rect of window "Stdsound.dir" to rect(LeftOrigin + LeftLoc, TopOrigin + TopLoc, LeftOrigin + RightLoc, TopOrigin + BottomLoc)
- set the windowType of window "Stdsound.dir" to 2
- open(window "Stdsound.dir")
- end
-